const mongoose = require('mongoose')

mongoose.connect('mongodb+srv://yan_jing_rui:yanjingrui91044@cluster0.xazmv.mongodb.net/ThreeLibrary_AI').then(() => {
    console.log('数据库连接成功');
}).catch((err) => {
    console.log('数据库连接失败, 原因 ==> ', err);
})

module.exports = mongoose